WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf::FolderRegistry Class Reference

Registry (singleton) of the folders of the plugins, e.g. with their schema files. More...

#include <core/utils/folder_registry.h>

Public Member Functions

 FolderRegistry (const FolderRegistry &)=delete
 Copy constructor (deleted: singleton) More...
 
void operator= (FolderRegistry const &)=delete
 Copy assignment (deleted: singleton) More...
 

Static Public Member Functions

static bool registerFolder (const std::string &_plugin, const std::string _folder)
 Registers the folder of a plugin (replacing a different one). Returns whether it was registered. More...
 
static bool unregisterFolder (const std::string &_plugin)
 Unregisters the folder of a plugin. Returns whether it was unregistered. More...
 
static bool isFolderRegistered (const std::string &_plugin)
 Returns whether the folder of a plugin is registered. More...
 
static void printAddress ()
 Prints the address of the singleton instance. More...
 
static std::vector< std::string > getRegisteredFolders ()
 Returns all the registered folders. More...
 
static void appendRegisteredFolders (std::vector< std::string > &_folders)
 Appends all the registered folders to a vector. More...
 

Detailed Description

Registry (singleton) of the folders of the plugins, e.g. with their schema files.

Constructor & Destructor Documentation

◆ FolderRegistry()

wolf::FolderRegistry::FolderRegistry ( const FolderRegistry &  )
delete

Copy constructor (deleted: singleton)

Member Function Documentation

◆ appendRegisteredFolders()

void wolf::FolderRegistry::appendRegisteredFolders ( std::vector< std::string > &  _folders)
inlinestatic

Appends all the registered folders to a vector.

◆ getRegisteredFolders()

std::vector< std::string > wolf::FolderRegistry::getRegisteredFolders ( )
inlinestatic

Returns all the registered folders.

◆ isFolderRegistered()

bool wolf::FolderRegistry::isFolderRegistered ( const std::string &  _plugin)
inlinestatic

Returns whether the folder of a plugin is registered.

◆ operator=()

void wolf::FolderRegistry::operator= ( FolderRegistry const &  )
delete

Copy assignment (deleted: singleton)

◆ printAddress()

void wolf::FolderRegistry::printAddress ( )
inlinestatic

Prints the address of the singleton instance.

◆ registerFolder()

bool wolf::FolderRegistry::registerFolder ( const std::string &  _plugin,
const std::string  _folder 
)
inlinestatic

Registers the folder of a plugin (replacing a different one). Returns whether it was registered.

◆ unregisterFolder()

bool wolf::FolderRegistry::unregisterFolder ( const std::string &  _plugin)
inlinestatic

Unregisters the folder of a plugin. Returns whether it was unregistered.


The documentation for this class was generated from the following file: